home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 3: The Continuation / 17-Bit_The_Continuation_Disc.iso / amigan / amigan 19 / 2000_clock / 2000_clock.txt < prev    next >
Text File  |  1994-01-27  |  21KB  |  492 lines

  1. From: andy@cbmvax.UUCP (Andy Finkel)
  2. Subject: Re: The time (my watch has troubles) has come ...
  3. Date: 19 Oct 87 21:10:04 GMT
  4. Organization: Commodore Technology, West Chester, PA
  5. Keywords: I should learn to RTFM
  6.  
  7.  
  8. In article <16531@amdahl.amdahl.com> kim@amdahl.amdahl.com (Kim DeVaughn) writes:
  9.  
  10. > Yep ... the jumper was between pins 2 and 3 rather than the pictured default
  11. > between pins 1 and 2!  So the timer chip had been getting popped at the
  12. > vertical sync rate, rather than being locked to the line frequency.  No big
  13. > deal, just swap the jumper.  Now the question is ... why would one want to
  14. > drive the timer from the vertical sync, rather than from the line?  Maybe
  15. > for use in areas with ill-controlled power?
  16.  
  17. This makes it compatible with the A500 which doesn't have the tick
  18. coming from the power supply :-(  but must rely on the vertical
  19. sync line for its timing, which we know is.........
  20.  
  21.                 andy
  22. --
  23. andy finkel             {ihnp4|seismo|allegra}!cbmvax!andy
  24. Commodore-Amiga, Inc.
  25.  
  26. "Interfere?  Of course we'll interfere.  Always do what you're best at,
  27.  I always say."
  28.  
  29. Any expressed opinions are mine; but feel free to share.
  30. I disclaim all responsibilities, all shapes, all sizes, all colors.
  31.  
  32. ============================================================================
  33.  
  34. Date: Wed, 21 Oct 87 19:25:56 edt
  35. From: ames!rutgers!cbmvax!daveh (Dave Haynie)
  36. To: ames!amdahl!kim
  37. Subject: Re: The time (my watch has troubles) has come ...
  38.  
  39.  
  40. kim@amdahl.amdahl.com (Kim DeVaughn):
  41. > Keywords: I should learn to RTFM
  42.  
  43. > Yep ... the jumper was between pins 2 and 3 rather than the pictured default
  44. > between pins 1 and 2!  So the timer chip had been getting popped at the
  45. > vertical sync rate, rather than being locked to the line frequency.  No big
  46. > deal, just swap the jumper.  Now the question is ... why would one want to
  47. > drive the timer from the vertical sync, rather than from the line?  Maybe
  48. > for use in areas with ill-controlled power?
  49.  
  50. That, and for DC-only operation (the OS won't come up at all without this
  51. clock ticking at at least some reasonable rate).  And for A500 compatibility;
  52. the A500 doesn't have a line Tick, so they ALWAYS have the vertical sync
  53. used instead.  I though about this fact, and figured that if there's a way,
  54. someone will eventually write a program that depends on this fact.  So I
  55. put in the jumper.  I really wish these could be more accessible, but after
  56. seeing the board, you can probably understand the problems involved.
  57.  
  58.  
  59. > And there was indeed a small trimmer cap near the Oki chip (just in front of
  60. > the 86-pin coprocessor slot).  No markings to tell which way to go, but it's
  61. > a 50-50 shot ... I tweaked it a hair CCW (is that the correct way to turn it
  62. > to slow it down, Dave?)  We'll see ...
  63.  
  64. To tell you the truth, I'm not all that sure which way you want to twist it.
  65. On the production line (in Taiwan) they have a watch calibration tool.  You
  66. lay a probe next to the crystal, and tweak the trimmer until the green
  67. light comes on.  They can specify the accuracy they'd like to get.  Not sure
  68. what its set for, and with all that travelling, it's probably moved a bit
  69. anyway.  At least the trimmer is easy to get to.
  70.  
  71.  
  72. > BTW, it would be nice if the RTC were locked to the line freq. when the machine
  73. > is plugged in (or at least is powered on), and switched to using the xtal
  74. > oscillator only for battery backup, but I guess that'd be too expensive.
  75.  
  76. Also, various government groups get antsy when you tell them that the power
  77. switch doesn't really turn off the power all the way.  I guess there's a way
  78. around this, or my stereo, TV, and VCR remotes wouldn't work very well for
  79. on and off functions.
  80.  
  81.  
  82. > Anyway, if your clock(s) aren't keeping the right time, and particularly
  83. > if the timer driven system clock is running about 0.3% slow, you now have
  84. > a couple of things to check out.
  85.  
  86. And I've got to email to Taiwan and find out if perhaps they're shipping the
  87. wrong jumper configuration, or if you're unit is just an accident (like maybe
  88. the shunt plug fell off and was randomly put on wrong).
  89.  
  90. > /kim
  91.  
  92.  
  93. > P.S.  FYI ... the Fat Agnus chip is called "FAT LADY" on the silk-screening,
  94. >       and for some reason, Buster isn't named, though Gary, Paula, and Denise
  95. >       are (this is on a rev 4.2 board).
  96.  
  97. Yea, you're right.  I never noticed that.  It may go back to the first Rev of
  98. the board, which was layed out before there was a Buster chip.  The PCB guy
  99. (Terry Fisher) may not have known the name of this magic new chip.  BTW, they
  100. tell me that REV 4.2 means a REV 4.0 PCB with all the fixes (i.e. no goofy
  101. 1.5 turn ferrite beads to muck up the clarity of your video).
  102.  
  103. ============================================================================
  104.  
  105. Date: Wed, 28 Oct 87 13:03:17 PST
  106. From: kim (Kim DeVaughn)
  107. To: ames!rutgers!cbmvax!daveh
  108. Subject: Re: The time (my watch has troubles) has come ...
  109.  
  110.  
  111. > > And there was indeed a small trimmer cap near the Oki chip (just in front of
  112. > > the 86-pin coprocessor slot).  No markings to tell which way to go, but it's
  113. > > a 50-50 shot ... I tweaked it a hair CCW (is that the correct way to turn it
  114. > > to slow it down, Dave?)  We'll see ...
  115. >
  116. > To tell you the truth, I'm not all that sure which way you want to twist it.
  117. > On the production line (in Taiwan) they have a watch calibration tool.  You
  118. > lay a probe next to the crystal, and tweak the trimmer until the green
  119. > light comes on.  They can specify the accuracy they'd like to get.  Not sure
  120. > what its set for, and with all that travelling, it's probably moved a bit
  121. > anyway.  At least the trimmer is easy to get to.
  122.  
  123. Thanks for the info!
  124.  
  125. As I said, I had a 50-50 shot, but just like ol' Ben Franklin, I blew it!
  126. Turning the cap CCW makes it FASTER ... you go CW to slow things down.
  127.  
  128. I got pretty lucky, really ... after finding that CCW was the wrong
  129. direction, I tweaked it a bit the other way.  I was out of town on
  130. business for the week following, and found when I got back that I was
  131. only 2 sec too slow.  I'll leave well enough alone and let it go at
  132. that.  I figure that to be within a minute between times that we go
  133. to/from daylight savings time is pretty good.  Hopefully, that won't
  134. drift too much ...
  135.  
  136. Thanks again!
  137.  
  138. /kim
  139.  
  140. ============================================================================
  141.  
  142. From: keithe@tekgvs.TEK.COM (Keith Ericson)
  143. Subject: The time has come and genlock?
  144. Date: 20 Oct 87 18:09:35 GMT
  145. Organization: Tektronix, Inc., Beaverton, OR.
  146. Keywords: I should learn to RTFM
  147.  
  148.  
  149. In article <2541@cbmvax.UUCP> andy@cbmvax.UUCP (Andy Finkel) writes:
  150. <
  151. <...the A500 ... doesn't have the tick
  152. <coming from the power supply :-(  but must rely on the vertical
  153. <sync line for its timing, which we know is.........
  154. <
  155. <               andy
  156.  
  157. ..........unless maybe one can get the GenLock goodie, lock onto a
  158. local TV network affiliate and coat-tail along on their 3.57954545...
  159. color burst signal, which is ultimately derived from NBS standard?
  160.  
  161. keith
  162.  
  163. [note the "<" instead of ">" in the quoted section: this fakes out
  164. the news posting program an allows a "short" followup!]
  165.  
  166. ============================================================================
  167.  
  168. From: daveh@cbmvax.UUCP (Dave Haynie)
  169. Subject: Re: The time (my watch has troubles) has come ...
  170. Date: 21 Oct 87 23:06:44 GMT
  171. Organization: Commodore Technology, West Chester, PA
  172.  
  173.  
  174. in article <16516@amdahl.amdahl.com>, kim@amdahl.amdahl.com (Kim DeVaughn) says:
  175. > Keywords: I hope there are knobs in there
  176. >
  177. > [ There ain't no such thing as a free line. ]
  178. >
  179. > I've been burning-in my B2000, and have noticed that accuracy of both the
  180. > normal internal clock (timer, really) and the battery-backed-up RTC are
  181. > unacceptable.
  182. >
  183. > Can someone at CATS (Dave, George, Carolyn) please tell me if/where the
  184. > trimmers are so I can get these clocks running right?  I'd prefer not to
  185. > have to go thru the hassle of returning the machine to the dealer for just
  186. > an adjustment.
  187.  
  188. OK, here goes.  The trimmer for the RTC is relatively easy to get at with just
  189. the box top off.  You'll need a "tweaking tool", which usually looks like a
  190. long piece of plastic with a thin metal tip (for those out there not familiar
  191. with this sort of high-tech equipment....).  The trimmer is located just a
  192. hair to the south of the Coprocessor slot.  It should be possible to adjust
  193. this to be about as accurate as a digital watch, as the clock chip uses a
  194. common watch battery.  They're supposed to be adjusted on the production line,
  195. though it's certainly possible that some fall out in shipping and all.  There
  196. will probably be a slight varience in the clock frequency depending on whether
  197. or not the unit's powered on, I don't know how much this varience can amount
  198. to.
  199.  
  200. As for the internal system clock, that is based on the 60Hz tick from your
  201. line voltage.  Or SHOULD be.  Because in fact, the B2000 can be internally
  202. jumpered to count time off the vertical sync line, just as the A500 does.
  203. This is all controlled by J300, which is (you guessed it) hidden under
  204. the power supply.  It's the jumper just a bit to the North of the Paula
  205. chip, if you do happen to open your machine up and look inside.  These are
  206. supposed to be shipped in the line Tick position, which means the shunt
  207. plug is to the left.  If this is installed properly, the only other thing
  208. that could affect your timing here is lousy line frequency regulation in
  209. your area.
  210.  
  211.  
  212. > Though it should not matter, I have a 68010 in the machine (you *don't* have
  213. > any s/w timing loops in there, do you?)
  214.  
  215. I've got one too, and as far as I know, my clocks stay pretty accurate.
  216.  
  217.  
  218. > Why aren't these locked to the line frequency, which has very good long-term
  219. > accuracy, though may suffer from short-term stability?
  220.  
  221. The OS clock is, or should be, but that only works when the machine is on.  The
  222. RTC can't be, or it would lose its time base if the power went out or you
  223. moved the machine.
  224.  
  225. > /kim
  226. --
  227. Dave Haynie     Commodore-Amiga    Usenet: {ihnp4|caip|rutgers}!cbmvax!daveh
  228.    "The B2000 Guy"              PLINK : D-DAVE H             BIX   : hazy
  229.     "Computers are what happen when you give up sleeping" - Iggy the Cat
  230.  
  231. ============================================================================
  232.  
  233. From: andy@cbmvax.UUCP (Andy Finkel)
  234. Subject: Re: Problems with the Real Time Clock on my Amiga 2000
  235. Date: 27 Oct 87 15:48:09 GMT
  236. Organization: Commodore Technology, West Chester, PA
  237.  
  238.  
  239. In article <361@tardis.cc.umich.edu> mike@ronin.cc.umich.edu (Michael Nowak) writes:
  240. >I recently traded my Amiga 1000 for an Amiga 2000 and I've noticed a real
  241. >problem with my Real Time Clock:  I set it by using date and setclock but
  242. >when I reload it in the startup-sequence (about every day), it seems to gain
  243. >about 10 minutes!
  244.  
  245. The RTC is adjustable.  C912 (on the main board) can be used as a slow/fast
  246. control to tune the clock to greater accuracy.
  247.  
  248. --
  249. andy finkel             {ihnp4|seismo|allegra}!cbmvax!andy
  250. Commodore-Amiga, Inc.
  251.  
  252. "Interfere?  Of course we'll interfere.  Always do what you're best at,
  253.  I always say."
  254.  
  255. Any expressed opinions are mine; but feel free to share.
  256. I disclaim all responsibilities, all shapes, all sizes, all colors.
  257.  
  258. ============================================================================
  259.  
  260. From: kim@amdahl.amdahl.com (Kim DeVaughn)
  261. Subject: Re: Problems with the Real Time Clock on my Amiga 2000
  262. Date: 30 Oct 87 01:41:06 GMT
  263. Organization: Amdahl Corporation,  Sunnyvale, CA 94086
  264. Summary: "The time has come", the walrus said, "to talk of many things ..."
  265.  
  266.  
  267. In article <361@tardis.cc.umich.edu>, mike@ronin.cc.umich.edu (Michael Nowak) writes:
  268. > I recently traded my Amiga 1000 for an Amiga 2000 and I've noticed a real
  269. > problem with my Real Time Clock:  I set it by using date and setclock but
  270. > when I reload it in the startup-sequence (about every day), it seems to gain
  271. > about 10 minutes!  I'm delaer doesn't know what to make of it.  Is this
  272. > a hardware problem or what?  Has anyone else encountered this?
  273.  
  274. Surely have!  Sounds like your machine and mine were "tuned" by the same
  275. person over there in Taiwan.
  276.  
  277. It's easy to fix though ... there is a small trimmer capacitor just about
  278. directly to the front of the 86-pin coprocessor slot, very near to the
  279. Oki clock/calendar chip, that you can adjust.  On my machine, it was a
  280. bright yellow color.
  281.  
  282. Anyway, you'll need a VERY narrow-bladed screwdriver, preferably one with
  283. a plastic shank.  You should be able to find something suitable at Radio
  284. Shack, etc (ask to see their selection of alignment tools).
  285.  
  286. To adjust it to run SLOWER, you want to tweak the adjusting screw (down
  287. in the middle of the capacitor) a LITTLE bit in the CLOCKWISE direction.
  288. I suggest trying a sixteenth of a turn, and then checking to see how much
  289. that improves things over (say) a 24-hour period.  Then just tweak away
  290. until you've zeroed in on the accuracy you want (or the limit of your
  291. patience, whichever occurs first :-) )!
  292.  
  293.  
  294. BTW, if you should also find that your machine LOOSES time BETWEEN "setclock"
  295. operations, your J300 jumper (near one of the 8520 chips, under the power
  296. supply) is probably in the wrong position.  It *should* be set to jumper pins
  297. 1 and 2 together, which will cause the timer to be locked to the line
  298. frequency.  Mine had pins 2 and 3 jumpered, which causes the timer to be
  299. locked to the vertical sync rate.
  300.  
  301. /kim
  302.  
  303.  
  304. --
  305. UUCP:  kim@amdahl.amdahl.com
  306.   or:  {sun,decwrl,hplabs,pyramid,ihnp4,uunet,oliveb,cbosgd,ames}!amdahl!kim
  307. DDD:   408-746-8462
  308. USPS:  Amdahl Corp.  M/S 249,  1250 E. Arques Av,  Sunnyvale, CA 94086
  309. CIS:   76535,25
  310.  
  311. ============================================================================
  312.  
  313. From: kim@amdahl.amdahl.com (Kim DeVaughn)
  314. Subject: Re: The time (my watch has troubles) has come ...
  315. Date: 30 Oct 87 02:07:11 GMT
  316. Organization: Amdahl Corporation,  Sunnyvale, CA 94086
  317. Summary: everything's a tradeoff (sigh)
  318. Keywords: I should learn to RTFM
  319.  
  320.  
  321. In article <2541@cbmvax.UUCP>, andy@cbmvax.UUCP (Andy Finkel) writes:
  322. > In article <16531@amdahl.amdahl.com> kim@amdahl.amdahl.com (I) wrote:
  323. >
  324. > >Yep ... the jumper was between pins 2 and 3 rather than the pictured default
  325. > >between pins 1 and 2!  So the timer chip had been getting popped at the
  326. > >vertical sync rate, rather than being locked to the line frequency.  No big
  327. > >deal, just swap the jumper.  Now the question is ... why would one want to
  328. > >drive the timer from the vertical sync, rather than from the line?  Maybe
  329. > >for use in areas with ill-controlled power?
  330. >
  331. > This makes it compatible with the A500 which doesn't have the tick
  332. > coming from the power supply :-(  but must rely on the vertical
  333. > sync line for its timing, which we know is.........
  334.  
  335. Strange that it (the 500) doesn't pick off the line frequency ... doesn't
  336. seem like much of a cost savings not to.
  337.  
  338. An "interesting" side effect of changing the jumper from the video sync to
  339. the line tick, is that my floppy now *grinds* noticibly LOUDER (gak!)
  340. Everything is nice and tight, mounting wise, so it must be due to the
  341. slight difference in timer interrupt rates (resonance ?)  Sounds pretty
  342. fishy, but I don't have a better explanation ...
  343.  
  344. Last night, I installed a 2nd 3.5" floppy, and *it* is REALLY quiet ...
  345. literally, quiet as a whisper.  It's the exact same Matsushita drive
  346. (model, assembly level, etc.) as df0: but *much* quieter than df0: was
  347. even before I changed the timer jumper!  Oh well ...
  348.  
  349. /kim
  350.  
  351.  
  352. --
  353. UUCP:  kim@amdahl.amdahl.com
  354.   or:  {sun,decwrl,hplabs,pyramid,ihnp4,uunet,oliveb,cbosgd,ames}!amdahl!kim
  355. DDD:   408-746-8462
  356. USPS:  Amdahl Corp.  M/S 249,  1250 E. Arques Av,  Sunnyvale, CA 94086
  357. CIS:   76535,25
  358.  
  359. ============================================================================
  360.  
  361. From: blgardne@esunix.UUCP (Blaine Gardner)
  362. Subject: Re: Problems with the Real Time Clock on my Amiga 2000
  363. Date: 31 Oct 87 17:05:53 GMT
  364. Organization: Evans & Sutherland Computer Corporation
  365.  
  366.  
  367. In article <17259@amdahl.amdahl.com>, kim@amdahl.amdahl.com (Kim DeVaughn) says:
  368. <
  369. < It's easy to fix though ... there is a small trimmer capacitor just about
  370. < directly to the front of the 86-pin coprocessor slot, very near to the
  371. < Oki clock/calendar chip, that you can adjust.  On my machine, it was a
  372. < bright yellow color.
  373.  
  374. < To adjust it to run SLOWER, you want to tweak the adjusting screw (down
  375. < in the middle of the capacitor) a LITTLE bit in the CLOCKWISE direction.
  376. < I suggest trying a sixteenth of a turn, and then checking to see how much
  377. < that improves things over (say) a 24-hour period.  Then just tweak away
  378. < until you've zeroed in on the accuracy you want (or the limit of your
  379.  
  380. There has GOT to be a better way! George, Dave, anybody, if I've got an
  381. oscilloscope (and an A2000 of course :-) where do I look, and for what
  382. signal? I assume you're dividing a higher clock down to 60 Hz?
  383. --
  384. Blaine Gardner @ Evans & Sutherland    540 Arapeen Drive, SLC, Utah 84108
  385. UUCP Address:   {ihnp4,ucbvax,decvax,allegra}!decwrl!esunix!blgardne
  386.                 {ihnp4,seismo}!utah-cs!esunix!blgardne
  387. "I don't see no points on your ears boy, but you sound like a Vulcan!"
  388.  
  389. ============================================================================
  390.  
  391. From: bryce@hoser.berkeley.edu (Bryce Nesbitt)
  392. Subject: Re: Problems with the Real Time Clock on my Amiga 2000
  393. Date: 3 Nov 87 06:31:25 GMT
  394. Organization: University of California at Berkeley
  395.  
  396.  
  397. In article <552@esunix.UUCP> blgardne@esunix.UUCP (Blaine Gardner) writes:
  398. >in article <17259@amdahl.amdahl.com>, kim@amdahl.amdahl.com (Kim DeVaughn) says:
  399. >
  400. >< It's easy to fix though ... there is a small trimmer capacitor just about
  401. >< directly to the front of the 86-pin coprocessor slot, very near to the
  402. >< Oki clock/calendar chip, that you can adjust.  On my machine, it was a
  403. >< bright yellow color.
  404. >
  405. >There has GOT to be a better way! George, Dave, anybody, if I've got an
  406. >oscilloscope (and an A2000 of course :-) where do I look, and for what
  407. >signal?
  408.  
  409. Anybody here:
  410.  
  411. Pin 1 of the OKI MSM6242B can be used for calibration.  Hook a scope
  412. to it (better yet, a frequency counter).
  413. You will probably see something close to:
  414.  
  415. 1/64th second
  416. 1 second
  417. 1 minute
  418. 1 hour
  419. -or-
  420. something strange (in the neighborhood)
  421.  
  422. It will probably be near 1/64th.  Adjust until it is exact.  (Beware
  423. that temperature affects crystals).
  424.  
  425. If it is *not* at 1/64th of a second, register $E needs to be set
  426. to zero.  This falls in the category of "magic" unless you have
  427. the docs for the chip or perhaphs the A500/A2000 tech. ref.
  428.  
  429.  
  430. BTW: I got an answer from comp.sources.amiga.  Perhaphs there is
  431. life after all!
  432.  
  433. |\ /|  . Ack! (NAK, SOH, EOT)
  434. {o O} . bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce
  435.  (")
  436.   U     "You can count how many seeds are in an Apple, but not how
  437.          many Apples are in a seed." -Ken Kesey
  438.  
  439. ============================================================================
  440.  
  441. From: grr@cbmvax.UUCP (George Robbins)
  442. Subject: Re: Problems with the Real Time Clock on my Amiga 2000
  443. Date: 7 Nov 87 07:30:56 GMT
  444. Organization: Commodore Technology, West Chester, PA
  445.  
  446.  
  447. In article <21572@ucbvax.BERKELEY.EDU> bryce@hoser.berkeley.edu (Bryce Nesbitt) writes:
  448. > In article <552@esunix.UUCP> blgardne@esunix.UUCP (Blaine Gardner) writes:
  449. > >in article <17259@amdahl.amdahl.com>, kim@amdahl.amdahl.com (Kim DeVaughn) says:
  450. > >
  451. > >< It's easy to fix though ... there is a small trimmer capacitor just about
  452. > >< directly to the front of the 86-pin coprocessor slot, very near to the
  453. > >< Oki clock/calendar chip, that you can adjust.  On my machine, it was a
  454. > >< bright yellow color.
  455. > >
  456. > >There has GOT to be a better way! George, Dave, anybody, if I've got an
  457. > >oscilloscope (and an A2000 of course :-) where do I look, and for what
  458. > >signal?
  459. >
  460. > Anybody here:
  461. >
  462. > Pin 1 of the OKI MSM6242B can be used for calibration.  Hook a scope
  463. > to it (better yet, a frequency counter).
  464. > You will probably see something close to:
  465. >
  466. > 1/64th second > 1 second > 1 minute > 1 hour > -or-
  467. > something strange (in the neighborhood)
  468. >
  469. > It will probably be near 1/64th.  Adjust until it is exact.  (Beware
  470. > that temperature affects crystals).
  471. > If it is *not* at 1/64th of a second, register $E needs to be set
  472. > to zero.  This falls in the category of "magic" unless you have
  473. > the docs for the chip or perhaphs the A500/A2000 tech. ref.
  474.  
  475. Unless you have access to an accurate frequency counter, this menthod isn't
  476. going to be any better than the twiddle until it seems about right method.
  477. Think about error percentages, scope resolution and seconds/day...
  478.  
  479. If you do have access to good test equipment, then set up test mode much
  480. as Bryce describes, then use a frequency counter in "period" mode to get
  481. that 64 Hz, or 1 Hz test signal just on.
  482.  
  483. Perhaps someone can come up with some clever trick, whereby you jumper the
  484. test pin on the clock chip over to the parallel port, then via software
  485. compare the battery clock frequency to the line frequency?
  486.  
  487. --
  488. George Robbins - now working for,       uucp: {ihnp4|rutgers|allegra}!cbmvax!grr
  489. but no way officially representing      arpa: out to lunch...
  490. Commodore, Engineering Department       fone: 215-431-9255 (only by moonlite)
  491.  
  492.